home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 059a / sweeps12.zip / SWEEPS.DOC < prev    next >
Text File  |  1993-03-12  |  22KB  |  485 lines

  1.  
  2.                            SWEEPSTAKES DICE
  3.  
  4.                                  v1.2
  5.  
  6.                                   by
  7.  
  8.  
  9.                           Sunrise Door Software
  10.                               Al Lawrence
  11.  
  12.                             Sunrise-80  BBS
  13.  
  14.                          (404) 256-9525 (Data)
  15.                          (404) 705-9104 (Data)
  16.                   (404) 256-9518 (Voice, 9am-9:30pm EST)
  17.  
  18.  
  19.  
  20.                                 OVERVIEW
  21.                                 ________
  22.  
  23.    SWEEPSTAKES is a fast-paced dice game in which you will be betting on the
  24.    outcome of the roll of six dice.
  25.  
  26.    The object of the game is to accumulate as many points as possible and
  27.    gain as high a slot as possible in the High Score file.
  28.  
  29.  
  30.    NOTE: Most errors will be logged to a file called DFRAME.ERR which is
  31.          created in the directory you run the door from.
  32.  
  33.  
  34.  
  35.                               INSTALLATION
  36.                               ____________
  37.  
  38.  
  39.    Installation is fairly easy and straight-forward. The following steps and
  40.    examples should have you up and running in a very short period of time.
  41.    It is assumed that you are familiar with setting up DOORS on your system.
  42.    To this end, only examples of the configuration file and Door batch file
  43.    are described.
  44.  
  45.       1) Create a directory to hold all SWEEPS files
  46.  
  47.       2) Unzip SWEEPSxx.ZIP into the the above directory
  48.  
  49.       3) Create a configuration file, with a name of your choice, or
  50.          modify the supplied SWEEPS.CFG file. A description follows:
  51.  
  52.             **                       Location of system file (See Below)
  53.             SUNRISE-80 BBS           Your BBS Name
  54.             Al                       Sysop's First name
  55.  
  56.             Lawrence                 Sysop's Last Name
  57.  
  58. |-----------------------------------------------------------------------------|
  59. | READ!     1                        CommPort  \ These 2 lines are required   |
  60. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  61. |-----------------------------------------------------------------------------|
  62.  
  63.             00000000                 Registration Number
  64.  
  65.    !    #   5                        Maximum # of Turns per day
  66.                                      (Sysop gets 999 in Registered version)
  67.                                      (Configurable... see option below    )
  68.  
  69.         #   0                        Max # of days a caller can make up, during
  70.                                      calls in one day. 0=Disable Make-up Option
  71.                                      Maximum value = 27, Minimum value = 1
  72.  
  73.         #   NONE                     Drive:\Path\Filename to contain the
  74.                                      Top Score Bulletin or enter NONE
  75.                                      for NO Bulletin creation.
  76.  
  77.         #   NONE                     Drive:\Path\Filename to contain the
  78.                                      Top Score Bulletin (Color) or enter NONE
  79.                                      for NO Bulletin creation.
  80.  
  81.         #   NONE                     Drive:\Path\Filename to contain the
  82.                                      Hall of Fame Bulletin or enter NONE
  83.                                      for NO Bulletin creation.
  84.  
  85.         #   NONE                     Drive:\Path\Filename to contain the
  86.                                      Hall of Fame Bulletin (Color) or enter NONE
  87.                                      for NO Bulletin creation.
  88.  
  89.  
  90.             1                        1 = DO NOT Display ADOPT-A-DOOR Message
  91.                                      2 = Display ADOPT-A-DOOR message
  92.  
  93.         #   2                        Keyboard timeout value in Minutes
  94.  
  95.     !   #   0                        Time Allowed in Door
  96.                                      (Sysop = Time Remaining - REG. VERSION)
  97.  
  98.         #   N                        Automatic game reset at end of month:
  99.                                        Y = Yes enable autoreset
  100.                                        N = Keep accumulating scores
  101.  
  102.             Y                        Y = Allow Sysop to have 999 turns/day
  103.                                      N = Don't Allow Sysop 999 turns/day
  104.  
  105.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  106.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  107.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  108.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  109.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  110.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  111.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  112.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  113.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  114.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  115.  
  116.     @   #   XXXX/YYYY                 Blackout Range  From/To
  117.     @   #   XXXX/YYYY                 Blackout Range  From/To
  118.     @   #   XXXX/YYYY                 Blackout Range  From/To
  119.     @   #   XXXX/YYYY                 Blackout Range  From/To
  120.     @   #   XXXX/YYYY                 Blackout Range  From/To
  121.  
  122.           ** = Replace with ONE of the following:
  123.  
  124. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  125. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  126. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  127.                                    (Note:DOOR.SYS must be in SAME directory)
  128. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  129. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  130. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  131. c:\bbs\TRIBBS.SYS               <- For TriBBS systems.
  132. C:\BBS\CHAIN.TXT                <- For WWIV systems
  133. C:\BBS\GTUSER.BBS               <- For GT Power
  134.                                    * if using this option you must put the
  135.                                      ComPort # on line 5 and the Node # on
  136.                                      line 6 of the configuration file
  137.  
  138.  
  139.            # = Requires registration to change to a different value.
  140.            ! = See "Plays Per Day/Door Time" Below
  141.            @ = See "Blackout Periods" Below
  142.  
  143.                NOTE: There are NO Blank Lines in the Config File!!
  144.  
  145.  
  146.       4) Create a batch file or modify the GROAN file supplied. A
  147.          description of this file follows:
  148.  
  149.             ECHO off
  150.             cd\BBS\DOORS\SWEEPS       Location of SWEEPS files
  151.             SWEEPS SWEEPS.CFG         EXE filename and CFG filename (Name
  152.                                       used in creating file in #3 above)
  153.             CD\BBS
  154.             BOARD
  155.  
  156.  
  157.        5) When running in more than one node, be sure to supply a
  158.           different configuration name for each node (your choice of name).
  159.  
  160.        6) If running with a multi-port board/Fossil Driver add
  161.           /FD to the line containing the CFG name as follows:
  162.  
  163.                         SWEEPS SWEEPS.CFG /FD
  164.  
  165.  
  166.  
  167.                             JACKPOT Points
  168.                             --------------
  169.  
  170. When you end up losing points, SWEEPS will place them into the "JACKPOT".
  171. This "JACKPOT" will continue to accumulate all points lost by any player.
  172. It will also accumulate the points lost by those playing on any other node(s)
  173. at the same time. The "JACKPOT" points will be updated on the players screen
  174. REAL TIME (at the moment the player on another node loses points). The
  175. "JACKPOT" points can be won by any player, if they roll 6 dice of the same
  176. value OR a straight (1-6) in strict numerical order. Minimum amount in the
  177. "JACKPOT" will be 10000 points.
  178.  
  179.  
  180.  
  181.                MAKE-UP DAYS (Registered version only)
  182.                --------------------------------------
  183.  
  184. The Make-Up-Day feature allows the caller to make up any plays he/she missed
  185. during the current month and prior to the current call. You control whether
  186. to allow this option, as well as the number of days the caller can make up, on
  187. any prticular days worth of calls. Entering a 0 (zero) for this option, in the
  188. configuration file, turns the option OFF, any other value (up to a max of 27)
  189. turns the option ON and dictates the number of days the caller can make up.
  190.  
  191.  
  192. NOTE:      The number of games per day is calculated as follows...
  193.  
  194.            Games Allowed per day x Number of makeup days.
  195.  
  196. Example:   Games Allowed per day = 2
  197.            Max # of makeup days  = 4
  198.  
  199. If a caller logs in on 5/8/92 and this is their first call of the month, they
  200. would have a potential of 16 games to makeup and bring them current
  201. (8 days (5/8/92) * 2 (games per day)). However, since the maximum # of Makeup
  202. Days is set at 4, the maximum # of games the caller can play on 5/8/92, is 8
  203. (games allowed * max # of makeup days).
  204.  
  205.  
  206.  
  207.              HALL OF FAME BULLETINS (Registered version only)
  208.              ------------------------------------------------
  209.  
  210. The program will automatically reset the game when the first caller of the
  211. month plays the game. The score file will be cleared and a set of Hall of Fame
  212. bulletin files will be created. The files will be called SUNHOF.ASC and
  213. SUNHOF.ANS (ASCII and ANSI versions). The files will be placed in the same
  214. directory as the SWEEPS.EXE file. You are responsible for COPYING the files to
  215. your bulletin area and renaming to a filename of your choice.
  216.  
  217. WARNING: The HOF files are cumulative files. That means they are read in each
  218.          month and updated. DO NOT DELETE EITHER FILE!!!! or you will lose
  219.          the record of prior months winners!!!!
  220.  
  221.  
  222.  
  223.                           BLACKOUT PERIODS
  224.                           ________________
  225.  
  226.       Use the Blackout ranges option to define up to 5 time periods during
  227.       which you DO NOT want the Door to be played. If a caller tries to access
  228.       the Door during the Blackout period, they will be shown a message that
  229.       contains ALL the Blackout periods you have defined, and to try the Door
  230.       at a later time.
  231.  
  232.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  233.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  234.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  235.  
  236.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  237.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  238.                    a Blackout range.
  239.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  240.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  241.  
  242.  
  243.                           PLAYS Per DAY/DOOR Time
  244.                           _______________________
  245.  
  246.       Plays Per Day and Door Time can be controlled several ways:
  247.  
  248.       (1) You can use the Games Per Day, singular option, in the config
  249.           file above. This option, will affect ALL callers whose Security
  250.           Level is NOT defined in any of the 10 optional Security Level/
  251.           Plays Per Day entries in the config file.
  252.  
  253.       (2) You can use the Door Time, singular option, in the config file
  254.           above. This option, will affect ALL callers whose Security
  255.           Level is NOT defined in any of the 10 optional Security Level/
  256.           Plays Per Day/Door Time entries in the config file.
  257.  
  258.       (3) You can restrict the number of games a specific Security Level
  259.           will be allowed to play per day or REWARD specific Levels with
  260.           more Plays Per Day.
  261.  
  262.           Likewise, you can restrict the Play time for a specific Security
  263.           Level or REWARD specific Levels with more Door Time.
  264.  
  265.           These options are handled by the use of the 10 config
  266.           entries (000=00/00).
  267.  
  268.           The format of each entry is as follows:
  269.  
  270.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  271.                      where =  is a constant and MUST be included
  272.                      where YY is the # of games per day (must be 2 digits)
  273.                      where / is a constant and MUST be included
  274.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  275.  
  276.           If the callers Security Level is NOT defined, his/her Plays Per
  277.           Day and Door Time will be controlled by the values in items
  278.           (1) and (2), above, respectively..
  279.  
  280.           You may define up to 10 Security Levels. All unused entries must
  281.           be defined as   00=00/00
  282.         --------------------------------------------------------------------
  283.           Example: Suppose you had 3 Security Levels defined on your BBS as
  284.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you
  285.           wanted to set Plays Per Day as :     Subscriber=5
  286.                                            Visiting Sysop=2
  287.                                                   CoSysop=3
  288.                                                    Friend=10
  289.  
  290.           and Door Time as follows:     Subscriber=30 minutes
  291.                                     Visiting Sysop=20 minutes
  292.                                            CoSysop=10 minutes
  293.                                             Friend=remaining call time
  294.  
  295.  
  296.           You would set the Individual "Games per Day" config entry to 1 and
  297.           the individual "Door Time" to 5 minutes (these would be the
  298.           default number of games and default Time for all Security Levels
  299.           other than 20,30 or 40... make them any number you want). Next you
  300.           would replace 4 of the Security Level entries as :  020=05/30
  301.                                                               030=02/20
  302.                                                               040=03/10
  303.                                                               090=10/0
  304.  
  305.  
  306.  
  307.                         NON-STANDARD COM SUPPORT
  308.                         ________________________
  309.  
  310.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  311.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  312.       number after the configuration filename. Let's assume your Door is
  313.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  314.       passed to your Door would be:
  315.  
  316.                             FOOBAR FOOBAR.CFG /5
  317.  
  318.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  319.       normally used with COM1. No /x parameter is needed for the standard
  320.       IRQ's.
  321.  
  322.       As an alternative, you may use an environmental variable on the command
  323.       line. To use the variable (following the example above), place a
  324.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a
  325.       different IRQ number for each node). The command line would now look
  326.       like this:
  327.  
  328.                           FOOBAR FOOBAR.CFG /%IRQ%
  329.  
  330.       This, in combination with the use of the environmental variables
  331.       described in the MULTI-NODE SETUP section will allow you to use one
  332.       batch file and one config file to run this door on all nodes.
  333.  
  334.  
  335.  
  336.  
  337.                            MULTI-NODE SETUP
  338.                            ________________
  339.  
  340.       All Sunrise Doors are Multi-Node capable. Each node must have the
  341.       ability to access a configuration file which will have its own system
  342.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first
  343.       line. There are 2 ways to accomplish this:
  344.  
  345.       (1) Create a separate configuration file for each node. The only
  346.           difference between each file would be the location of the system
  347.           file for that particular node. For example, on my system there are 2
  348.           nodes and the first line of the config files would look like this:
  349.  
  350.                         NODE1:  H:\PCB1\DOOR.SYS
  351.                         NODE2:  H:\PCB2\DOOR.SYS
  352.  
  353.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  354.  
  355.       (2) Use ONE configuration file for ALL nodes. This Door will recognize
  356.           the following PCBoard environmental variables:
  357.  
  358.                  PCBDIR    (Directory containing the System file)
  359.                  PCBDRIVE  (Drive containing the System file)
  360.  
  361.           Thus, the first line of the SINGLE configuration file, for this Door
  362.           would look like this:
  363.  
  364.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  365.  
  366.       NOTE: This option, as described, assumes that you are running PCBoard
  367.             14.5a software. The environmental variables are automatically
  368.             created by the software for each node.
  369.  
  370.             HOWEVER, if you are running other BBS software you should be able
  371.             to set the variables EXACTLY as described below, for EACH node
  372.             (more than likely in each batch file you use to bring up EACH node):
  373.  
  374.                             PCBDRIVE=C:
  375.                             ^^^^^^^^^
  376.                             PCBDIR=\NODE2
  377.                             ^^^^^^^^
  378.  
  379.             Info with a carat (^) under it, MUST be typed as is. The rest
  380.             depends on your naming conventions.
  381.  
  382.             This, in combination with the use of the optional environmental
  383.             variable described in the NON-STANDARD COM SUPPORT section, will
  384.             allow you to use one batch file and one config file to run this
  385.             door on all nodes.
  386.  
  387.  
  388.                                ADOPT-A-DOOR
  389.                                ____________
  390.  
  391.     Having been a Sysop for a number of years, I have had my share of problems
  392.     and frustrations getting financial support for my board's upkeep. A fellow
  393.     Sysop left a message on my board, not long ago, about a concept that was
  394.     being used by several boards around the country.
  395.  
  396.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  397.     would be the same as sending in a donation, only this way it is earmarked
  398.     for registering a particular door. In a way, the user feels he/she is
  399.     "getting something in return". As a Door author I have decided to build
  400.     this concept into each of my Door programs. The concept replaces the
  401.     usual message "tell the Sysop to register this Door" we find in most
  402.     doors.
  403.  
  404.     If the Door is unregisterd then a message appears on the opening screen
  405.     to that effect. After finishing or suspending a game, a message screen
  406.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  407.     caller to contact the Sysop to find out if there is any further details
  408.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  409.     time, etc to callers that ADOPT-A-DOOR.
  410.  
  411.     If the Door has been registered, either by the Sysop or other callers,
  412.     the names of those contributors will be displayed in the closing screen.
  413.  
  414.     NOTE: If you want to display the names of the callers that contributed
  415.           to registering the Door, you must create an ASCII file called
  416.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  417.           the name(s) of the contributors (one on each line, maximum of 5
  418.           entries, each a maximum of 30 characters long). This file must be
  419.           saved, in ASCII format, and placed in the Door directory.
  420.  
  421.  
  422.  
  423.                               LEGALITIES
  424.                               __________
  425.  
  426.  
  427.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  428.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  429.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  430.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  431.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  432.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  433.       OR BREACH OF ANY WARRANTY.
  434.  
  435.  
  436.  
  437.  
  438.  
  439.                              DISTRIBUTION
  440.                              ____________
  441.  
  442.    You may make this file available for downloading from your BBS or you may
  443.    upload it to any BBS of your choice, provided that you do not make any
  444.    changes to the contents of the archive (ZIP file). The archive and its
  445.    individual contents may not be used by any service that charges any money
  446.    whatsoever, without the written permission of the author.
  447.  
  448.  
  449.  
  450.  
  451.  
  452.                              REGISTRATION
  453.                              ____________
  454.  
  455.    Registration and the subsequent insertion of the registration number into
  456.    your configuation file, allows for the display of your BBS name on the
  457.    opening and closing screen as well as the reduction of a delay built into
  458.    the opening screen display along with the ability to change certain
  459.    values in the configuration file.
  460.  
  461.    To register your copy of SWEEPSTAKES, please fill out the registration
  462.    form (REGISTER.FRM) and mail it along with the registration fee to
  463.    the name and address on the form.
  464.  
  465.    Be sure to use the proper upper/lower case when filling in your name and
  466.    BBS name, as they MUST match the way you entered them in the configuration
  467.    file.             ^^^^
  468.  
  469.    Based upon information supplied on the registration form, I will pre-
  470.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  471.    up your registration number.
  472.  
  473.  
  474.  
  475.                                  MISC
  476.                                  ____
  477.  
  478.    The latest version of SWEEPSTAKES DICE and other fine SUNRISE DOOR programs
  479.    are always available for download from SUNRISE-80 BBS and/or SALTAIR BBS.
  480.  
  481.    Remember, should you have any problems, questions or suggestions, be sure
  482.    to drop me a message on either of the aforementioned BBS', SmartNet (Sysops)
  483.    Rime (PCBhints, Common, Doors, Sysops) or FidoNet 1:133/410
  484.  
  485.